package cn.com.surker.weight.dao;

import cn.com.surker.weight.entity.WeightMaterialContrast;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 供应商材料对应表 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2023-04-28
 */
public interface WeightMaterialContrastDao extends BaseMapper<WeightMaterialContrast> {

    /**
     * 根据信息匹配总数
     * @param stationId
     * @param supplierId
     * @param materialId
     * @param aipMaterial
     * @return
     */
    Integer findByTotal(Integer stationId, Integer supplierId, Integer materialId, String aipMaterial);

    Integer findByTotalV1(Integer supplierId, Integer materialId, String aipMaterial);

    Integer findByNameTotal(String supplier, String material, String aipMaterial);
}
